package io.dshubs.archives.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.dshubs.archives.entity.ArchiveDestroy;
import org.apache.ibatis.annotations.Mapper;

/**
 * <p>
 * 档案销毁表 Mapper 接口
 * </p>
 *
 * @author tan
 * @since 2021-08-27
 */
@Mapper
public interface ArchiveHomeMapper extends BaseMapper<ArchiveDestroy> {

    int selectArchiveDestroyCount();

    int selectWaitForReturnCount();

    int selectBorrowOutTimeCount();

    int selectBorrowNearOutTimeCount();

    int updateBorrowStatusNearTimeOut();

    int updateBorrowStatusAlreadyTimeOut();
}
